package com.peas.platform.module.icims.budget.archives.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.archives.adapter.repository.BudgetItemTypeRangeRepository;
import com.peas.platform.module.icims.budget.archives.adapter.repository.po.BudgetItemTypeRangePo;
import com.peas.platform.module.icims.budget.archives.domain.BudgetItemTypeRangeDomain;
import com.peas.platform.module.icims.budget.archives.dto.BudgetItemTypeRangeDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetItemTypeRangeDomainImpl extends BaseDomainImpl<BudgetItemTypeRangeDto, BudgetItemTypeRangePo> implements BudgetItemTypeRangeDomain {

    @Resource
    private BudgetItemTypeRangeRepository budgetItemTypeRangeRepository;

    @Override
    public BaseRepository<BudgetItemTypeRangePo> getMapper() {
        return budgetItemTypeRangeRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetItemTypeRangePo>> getRepositoryClass() {
        return BudgetItemTypeRangeRepository.class;
    }

}
